package com.foo.example.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 公司
 * @author Administrator
 *
 */
@Entity
@Table(name = "cq_sys_company")
public class Company {
		
		@Id
		@Column(name = "id",length = 32)
		@javax.persistence.GeneratedValue(generator = "system-uuid")
		@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
		private String id;
		
		@Column(nullable = false)
		private Double companyAmount;     //公司帐户

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public Double getCompanyAmount() {
			return companyAmount;
		}

		public void setCompanyAmount(Double companyAmount) {
			this.companyAmount = companyAmount;
		}
		
		
}
